$(function(){
	reportSpace="reporter/daily/arm-daliy-product-reporter!";
	
	$("#compbtn").bind("click",function(){
  		var date = $( "#datepicker" ).val();  		
  		var url = reportSpace+"dailyCollation?bean.createDate="+date;
  		window.open(url, '_collateWin');
  	});
  	
	$("div.pagination ul li a").bind("click",function(){
		var page = $(this).attr("page");
		var link = reportSpace+"submited?page="+page+"&rows=10";
		doGet(link);		
	});
});